﻿using System;

namespace DataBase.DBmodels;

/// <summary>
/// 按钮控件表
/// </summary>
public partial class ButtonControl
{
    /// <summary>
    /// 主键，自动递增
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 按钮所在的页面
    /// </summary>
    public string PageName { get; set; } = null!;

    /// <summary>
    /// 按钮的名称
    /// </summary>
    public string ControlName { get; set; } = null!;

    /// <summary>
    /// 按钮所在的功能模块
    /// </summary>
    public string FeatureName { get; set; } = null!;

    /// <summary>
    /// 是否启用，1表示启用，0表示禁用
    /// </summary>
    public bool? IsEnabled { get; set; }

    /// <summary>
    /// 创建时间，系统自动填充
    /// </summary>
    public DateTime CreatedTime { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime? ModifiedTime { get; set; }
}
